#include "QEvent.h"


QMouseEvent::QMouseEvent()
{
    m_button = Qt::NoButton;
}

int QMouseEvent::button() const
{
    return m_button;
}

QPoint QMouseEvent::pos() const
{
    return m_pos;
}

QPointF QMouseEvent::localPos() const
{
    return m_pos;
}

const QPoint &QMouseEvent::windowPos() const
{
    return m_windowPos;
}

int QMouseEvent::x() const
{
    return m_pos.x();
}

int QMouseEvent::y() const
{
    return m_pos.y();
}